Skip to contentSkip to conversation

Build error: static assertion failed: "GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than LARGE_MBUF_DATAPAYLOAD_SIZE"

DPDK/other Bug 1774 [email protected] 1 participant 1 message Aug 19, 2025

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1774

Bug ID: 1774
Summary: Build error: static assertion failed:
"GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than LARGE_MBUF_DATAPAYLOAD_SIZE"
Product: DPDK
Version: 25.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

This commit
https://github.com/DPDK/dpdk/commit/6a9f3f6df9ef51e30ff5bf3eea00f27ffef87a16
enables RTE_PKTMBUF_HEADROOM to be tuned from the build process. However, GMAC_LARGE_PLAINTEXT_LENGTH setting of 65344 fails a static assert if RTE_PKTMBUF_HEADROOM is set to 192. Changing it to 65343 would pass the build.

meson setup -Dplatform=x86_64 -Dpkt_mbuf_headroom=192 -Dmax_lcores=128 -Dmax_ethports=64 -Denable_drivers=bus/auxiliary,bus/pci,common/mlx5,net/mlx5,net/tap -Denable_driver_sdk=true -Dcpu_instruction_set=broadwell -Dprefix=/ build; cd build &&

...

[896/1072] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o

FAILED: app/dpdk-test.p/test_test_cryptodev.c.o

...

In file included from ../lib/net/rte_ether.h:14,

                 from ../app/test/test_cryptodev.c:16:                          

../app/test/test_cryptodev_aead_test_vectors.h:15:1: error: static assertion
failed: "GMAC_LARGE_PLAINTEXT_LENGTH should not be greater than LARGE_MBUF_DATAPAYLOAD_SIZE"

15 | static_assert(GMAC_LARGE_PLAINTEXT_LENGTH <=
LARGE_MBUF_DATAPAYLOAD_SIZE,

      | ^~~~~~~~~~~~~
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.